package com.carleasoft.mps.cms.business.personal.bean.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 个人中心  代办/消息
 * @author: yangHao
 * @createDate:2023/6/14
 * @description:
 */
@Data
@TableName("c_personal_center")
public class PersonalCenterEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    /**
     * 主键id
     */
    private Long id;

    /**
     * 业务编码
     */
    private String code;


    /**
     * 用户编码
     */
    private String userCode;

    /**
     * 1-代办  2-消息
     */
    private Integer resourceType;

    /**
     * 类型 1-网上办事 2-咨询援助 3-信箱 4-论坛
     */
    private Integer type;

    /**
     * 内容
     */
    private String message;

    /**
     * 1-未读  2-已读
     */
    private Integer isRead;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;




}
